//===================================================================================//
// use triangle libary
//====================================================================================//

#ifndef __vtkDelaunayTriangulator_h
#define __vtkDelaunayTriangulator_h

#include "vtkPolyDataAlgorithm.h"


class VTK_EXPORT vtkDelaunayTriangulator : public vtkPolyDataAlgorithm
{
public:
  static vtkDelaunayTriangulator *New();
  void PrintSelf(ostream& os, vtkIndent indent);
  
  vtkTypeRevisionMacro(vtkDelaunayTriangulator,vtkPolyDataAlgorithm);
	//vtkPoints getInPoints();
	vtkCellArray *Cells;
	vtkCellArray *outCells;
	vtkPoints *inPoints;
	vtkPoints *outPoints;

protected:
  vtkDelaunayTriangulator();
  ~vtkDelaunayTriangulator();
  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
  virtual int FillInputPortInformation(int port, vtkInformation *info);

private:
  vtkDelaunayTriangulator(const vtkDelaunayTriangulator&);  // Not implemented.
  void operator=(const vtkDelaunayTriangulator&);  // Not implemented.



};

#endif
